﻿<FieldMappers>
	<FieldMapper Property="Id"             TypeName="System.Int32"       ColumnName="Id"            DbType="Int32"     DbColumnType="int"           MaxLength="10" Bytes="4"  DefaultValue="-1" IsPrimaryKey="true" IsIdentity="true" Insert="false"  />
	<FieldMapper Property="Name"           TypeName="System.String"      ColumnName="Name"          DbType="String"    DbColumnType="varchar"       MaxLength="40" Bytes="40" DefaultValue=""      />
	<FieldMapper Property="OrderDate"      TypeName="System.DateTime"    ColumnName="OrderDate"     DbType="DateTime"  DbColumnType="smalldatetime" MaxLength="25" Bytes="8"  DefaultValue=""      />
	<FieldMapper Property="IsComplete"     TypeName="System.Boolean"     ColumnName="IsComplete"    DbType="Boolean"   DbColumnType="bit"           MaxLength="1"  Bytes="1"  DefaultValue="false" />
	<FieldMapper Property="Comments"       TypeName="System.String"      ColumnName="Comments"      DbType="String"    DbColumnType="varchar"       MaxLength="40" Bytes="40" DefaultValue=""      />
	<FieldMapper Property="Amount"         TypeName="System.Decimal"     ColumnName="Amount"        DbType="Decimal"   DbColumnType="decimal"       MaxLength="10" Bytes="12" DefaultValue="0.00"  />
	<FieldMapper Property="OrderStatusId"  TypeName="System.Byte"        ColumnName="OrderStatusId" DbType="Byte"      DbColumnType="tinyint"       MaxLength="3"  Bytes="1"  DefaultValue="2"     />
	<FieldMapper Property="IsActive"       TypeName="System.Boolean"     ColumnName="IsActive"      DbType="Boolean"   DbColumnType="bit"           MaxLength="1"  Bytes="1"  DefaultValue="true"  />
</FieldMappers>
<!--
//Copyright Binoj V Antony © 2010 under GNU Library General Public License (LGPL) at http://XmlDataMapper.CodePlex.com/ at http://XmlDataMapper.CodePlex.com/
//Please preserve the authors names and copyright statement in the code even when the work is changed or added to.
-->